
#include <limits.h>
#include "../include/BcstDataProvider.h"
#include "gtest/gtest.h"
#include <Windows.h>
#include "../include/BcstDataProviderFactory.h"
#include "../libjson/include/IBlocksProvider.h"


// Tests factorial of negative numbers.
TEST(BcstDataProviderTest,InitProvider) {
	// This test is named "Negative", and belongs to the "FactorialTest"
	// test case.
	BcstDataProvider* provider=BcstDataProviderFactory::Instance()->CreateFileDataSourceBcstDataProvider("c:/json");
	Sleep(5000);
	ALL_SLOTS_VECTOR pAdListForAllSlots=provider->GetAdListForAllSlot();

	EXPECT_EQ(3,pAdListForAllSlots.size());
}

